python get location of script

45

python get location of script -

import os

file_path = os.path.realpath(__file__)

Comments

Submit
0 Comments